package com.example.toutiao.base.impl;

import android.app.Activity;
import android.graphics.Color;
import android.view.Gravity;
import android.view.View;
import android.widget.TextView;

import com.example.toutiao.R;
import com.example.toutiao.base.BasePager;

/**
 * Created by admin on 2017/11/29.
 */

public class SmallVideoPager extends BasePager {
    public SmallVideoPager(Activity activity) {
        super(activity);
    }

    @Override
    public void initView() {
        super.initView();
    }

    @Override
    public void initData() {
            TextView view = new TextView(mActivity);
            view.setText("小视频");
            view.setTextColor(Color.RED);
            view.setTextSize(22);
        view.setGravity(Gravity.CENTER);

        flContent.addView(view);
    }
}
